import request from '../request'
export function getManagerList (params) {
  return request({
    url: '/system/manager/list',
    method: 'get',
    params,
    hideLoading: true
  })
}

export function managerAdd (data) {
  return request({
    url: '/system/manager/add',
    method: 'post',
    data
  })
}
export function getManagerInfo (params) {
  return request({
    url: '/system/manager/info',
    method: 'get',
    params
  })
}

export function managerUpdate (data) {
  return request({
    url: '/system/manager/update',
    method: 'post',
    data
  })
}

export function managerRemove (data) {
  return request({
    url: '/system/manager/remove',
    method: 'post',
    data
  })
}
